<div id="portfolio-filter">
    <ul class="browse">
        <li><a class="" href="#Video">Video</a></li>
        <li><a class="" href="#Print">Print</a></li>
        <li><a class="" href="#Logo">Logo &amp; Branding </a></li>
        <li><a class="" href="#Web">Web Design </a></li>
        <li><a class="" href="#all">All</a></li>
    </ul>
</div><!--END ul porftolio-filter-->


<div class="column-list">
    <ul class="gallery clearfix">
        <?php
        $content = $this->PortfolioContent;
        foreach ($content as $row) {
 ?>
            <li class="<?php echo $row['class']; ?>">
                <div class="portfolio-block-list<?php if ($row['class'] == 'Video') {
                echo ' player';
            }; ?>">
                    <span class="img_holder">
<?php if ($row['class'] != 'Video') { ?>
<?php if ($row['img1']!='') { ?><a href="<?php echo $row['img1']; ?>" rel="prettyPhoto[<?php echo $row['id']; ?>]" title="<?php echo $row['name']; ?>"><?php } ?>
                        <img src="<?php echo $row['logo']; ?>" alt="" border="0" /></a>
<?php if ($row['img2']!='') { ?><a href="<?php echo $row['img2']; ?>" rel="prettyPhoto[<?php echo $row['id']; ?>]" title="<?php echo $row['name']; ?>"></a><?php } ?>
<?php if ($row['img3']!='') { ?><a href="<?php echo $row['img3']; ?>" rel="prettyPhoto[<?php echo $row['id']; ?>]" title="<?php echo $row['name']; ?>"></a><?php } ?>
<?php } elseif ($row['class'] == 'Video') { ?>
    <a href="<?php echo $row['logo_link']; ?>" rel="prettyPhoto[<?php echo $row['id']; ?>]" title="<?php echo $row['name']; ?>">
        <img src="<?php echo $row['logo']; ?>" alt="" border="0" /></a>
<?php } ?>
                          </span>
                    <h2><?php echo $row['name']; ?></h2>
                    <a href="<?php echo $row['link']; ?>" class="view-online">View Online</a>
                    <h3>Technic</h3>
                    <p><?php echo $row['langs']; ?></p>
                    <h3>Case study</h3>
                    <p><?php echo $row['about']; ?></p>
                </div>
            </li>


<?php }; ?>
    </ul>
</div><!--END column list-->

<a href="#header" class="top">Top</a>